export const treeData = [
    {
        title: '工作台',
        key: 'getUserTodo',
    },
    {
        title: '项目管理',
        checkable: false,
        children: [
            {
                title: '发布项目',
                key: 'createProject',
            },
        ],
    },
    {
        title: '结算管理',
        checkable: false,
        children: [
            {
                title: '申请验收结算',
                key: 'uploadSettlementExcel',
            },
            {
                title: '审核结算单',
                key: 'passSettlementOrder',
            },
            {
                title: '支付结算单',
                key: 'settlementPay',
            },
            {
                title: '授权结算单',
                key: 'authSettlementOrder',
            },
        ],
    },
    {
        title: '财务管理',
        checkable: false,
        children: [
            {
                title: '结算数据统计',
                key: 'querySettlementStatistics',
            },
            {
                title: '明细数据统计',
                key: 'querySettlementDetailStatistics',
            },
            {
                title: '推广佣金管理',
                checkable: false,
                children: [
                    { title: '发放佣金', key: 'payAwardOrder' },
                ],
            },
        ],
    },
    {
        title: '账户管理',
        checkable: false,
        children: [
            {
                title: '添加账户',
                key: 'createLaborAccount',
            },
            {
                title: '提现',
                key: 'accountWithdraw',
            },
            {
                title: '编辑',
                key: 'updateLaborAccount',
            },
            {
                title: '设置提现账户',
                key: 'updateLaborWithdrawalAccount',
            },
        ],
    },
    {
        title: '发票管理',
        checkable: false,
        children: [
            {
                title: '审核',
                key: 'refuseReceipt',
            },
            {
                title: '开票',
                key: 'makeReceipt',
            },
        ],
    },
    {
        title: '合同管理',
        checkable: false,
        children: [
            {
                title: '设置灵工承揽合同',
                key: 'createAwardContract',
            },
            {
                title: '上传合同',
                key: 'createLaborContract',
            },
        ],
    },
    {
        title: '客户管理',
        checkable: false,
        children: [
            {
                title: '客户信息管理',
                checkable: false,
                children: [
                    { title: '添加客户', key: 'createCustomer' },
                ],
            },
            {
                title: '客户业务管理',
                checkable: false,
                key: 'queryCustomerBusinessList',
                children: [
                    { title: '添加业务', key: 'createCustomerBusiness' },
                ],
            },
        ],
    },
    {
        title: '代理管理',
        checkable: false,
        children: [
            {
                title: '添加代理业务',
                key: 'createAgent',
            },
        ],
    },
    // {
    //     title: '人员管理',
    //     key: 'getLaborSignUserList',
    // },
    {
        title: '人员管理',
        checkable: false,
        children: [
            {
                title: '人员管理',
                key: 'getLaborSignUserList',
            },
            {
                title: '个体户管理',
                key: 'getSelfEmployedList',
            },
        ],
    },
    {
        title: '公司管理',
        checkable: false,
        children: [
            {
                title: '添加公司',
                key: 'createCompany',
            },
        ],
    },
    {
        title: '推广管理',
        checkable: false,
        children: [
            {
                title: '佣金比例设置',
                key: 'saveAwardConfig',
            },
            {
                title: '商务经理信息设置',
                key: 'createBusinessManage',
            },
        ],
    },
    {
        title: '权限管理',
        checkable: false,
        children: [
            {
                title: '添加业务员',
                key: 'createUserStaff',
            },
        ],
    },
];